export interface ILoginRequestData {
  /** admin 或 editor */
  account: string
  /** 密码 */
  password: string
  /** 验证码 */
  verifyCode: string
}
export interface User {
  uId: string
  account: string
  name: string
  headUrl: string
  phone: number
  createTime: string
  updateTime: string
  status: 0 | 1
  sId: string
  openid: string
  unionid: string
}
export type LoginCodeResponseData = IApiResponseData<string>

export type LoginResponseData = IApiLoginResponseData<User>

export type UserInfoResponseData = IApiResponseData<{ username: string; roles: string[] }>
